package cn.jlonely.xyhx.admin.service;

import cn.jlonely.xyhx.pojo.vo.ReviewVo;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface VitoService {

    /**
     * 获取某个活动排名
     *
     * @param id
     * @return
     */
    List<ReviewVo> getVitoInfo(Integer id);

    /**
     * 导出Excel
     * @param response
     * @param id
     */
    void exportToExcel(HttpServletResponse response, Integer id) throws IOException;
}
